-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gtk3 #284
Gtk3 #284
Conversation
Otherwise GUI stops updating.
Regarding Gtk2::ImageView, this guy seems to have had the same problem and describes how he worked around it: https://martin.hoppenheit.info/blog/2014/image-scaling-with-gtk3-and-perl/ Looks like it is applicable at least for the preview in the screenshot tab. |
I created an issue, which outdated libs are blocking Shutter from entering the repos (for Arch Linux so far), to get some overview: #285 |
I thought I'd try to play around with the GooCanvas thingy and tried to run the latest commit from the gtk3 branch, but get
Is this expected or is something messed up on my machine? I'm using this as When removing the |
No plugins are tested yet.
That's one of differences between perl-gtk2 and perl-gtk3. I kept changing it to Fixed. |
Launches and looks great, thanks! :) |
How would I test this? Checkout and then run what? |
Just run bin/shutter from the main folder of the checked out repo. |
New release doesn't need to wait for this branch, btw. |
Ok, then I will prepare the release asap! |
As found by trial and error, this is required for "unique app" functionality and message passing (aka action activation in gtk3 terminology)
At some point we need to reuse it instead of vendoring it
Gscan2pdf had the same problem when migrating to Gtk3, therefore |
…ported but handled badly
Force pushing makes it hard to review - could we do without it? |
I only combined two last commits into one, and improved the commit message
there
чт, 18 февр. 2021 г., 04:37 Vadim Peretokin <[email protected]>:
… Force pushing makes it hard to review - could we do without it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPLZHOV5ZM6ZSTEZVUKCTS7SKRRANCNFSM4N5GZ5BQ>
.
|
It looks like we're pretty dependant on a project that is not actively maintained, this is a problem. :( |
Nah, that particular problem is worked around already, I pushed the commit
here and updated the PR description
сб, 13 мар. 2021 г., 08:04 Vadim Peretokin ***@***.***>:
… It looks like we're pretty dependant on a project that is not actively
maintained, this is a problem. :(
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPLZARQVYIWXGXG6DU2FTTDML7TANCNFSM4N5GZ5BQ>
.
|
But you are right that after this migration is done, we may need to look
for alternatives
сб, 13 мар. 2021 г., 08:04 Vadim Peretokin ***@***.***>:
… It looks like we're pretty dependant on a project that is not actively
maintained, this is a problem. :(
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPLZARQVYIWXGXG6DU2FTTDML7TANCNFSM4N5GZ5BQ>
.
|
Needs the newest (not yet released) Gtk3::ImageView
Somehow the progress bar doesn't show the text...
Alright, I did what I could here. The most broken things remaining:
I'll need some help with those. And I don't know whether these issues are important enough to delay the release vs not having shutter in repos at all... Also a few minor things:
|
…u with GDK scaled See shutter-project#326
The biggest blockers:
Gtk2::ImageView doesn't have analog in Gtk3.Working with author of Gtk2::ImageView who also made a partial port of it to Gtk3 to add missing features. It's used in 3 places:I can't figure out how to access subwindows, becauseIt's->XWINDOW
is missing. The same function is needed for capturing context menus.->get_xid
nowI didn't yet try to fix the drawing. There is GooCanvas2, but I don't yet know how compatible it is with Goo::CanvasBlurry preview window during Selection, blocked on upstream bug of goocanvas2added a workaroundOther things are not done yet, but are doable with a bit of effort:
libunique needs porting to GtkApplication and Gio SimpleAction; I have a hello world app workingdrag'n'drop shows some error in type, probably needs some massaging of GObject Introspection.TODO-GTK3.md
In the current state it can take screenshot of the whole desktop, of a single window, can upload, and even fixes an encoding bug of the current release (desktop name was garbled).